//
//  NextListCollectionViewCell.swift
//  BusinessIOS
//
//  Created by Rain on 2018/11/12.
//  Copyright © 2018 XingJian Li. All rights reserved.
//

import UIKit

class NextListCollectionViewCell: UICollectionViewCell {
    var imageview : UIImageView!
    
    override init(frame: CGRect) {
        super.init(frame: frame)
        
 
        
        self.imageview = UIImageView()
        
        self.contentView.addSubview(self.imageview)

        
        
        self.layoutView()
        
        
    }
    
    required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    func layoutView() {
        

        self.imageview.snp.makeConstraints { (make) in
            make.top.equalTo(self.snp.top).offset(5)
            make.left.equalTo(self.snp.left).offset(5)
            make.right.equalTo(self.snp.right).offset(-5)
            make.bottom.equalTo(self.snp.bottom).offset(-5)
        }
        

    }
    

 
}

